package com.community.pojo;

import java.util.Date;

public class Attachment {
    private Integer id;

    private String entityname;

    private String entitytype;

    private Integer entityid;

    private String filename;

    private String filesize;

    private String filedownpath;

    private String filepath;

    private String filepassword;

    private Date createTime;

    private Date updateTime;

    public Attachment(Integer id, String entityname, String entitytype, Integer entityid, String filename, String filesize, String filedownpath, String filepath, String filepassword, Date createTime, Date updateTime) {
        this.id = id;
        this.entityname = entityname;
        this.entitytype = entitytype;
        this.entityid = entityid;
        this.filename = filename;
        this.filesize = filesize;
        this.filedownpath = filedownpath;
        this.filepath = filepath;
        this.filepassword = filepassword;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Attachment() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEntityname() {
        return entityname;
    }

    public void setEntityname(String entityname) {
        this.entityname = entityname == null ? null : entityname.trim();
    }

    public String getEntitytype() {
        return entitytype;
    }

    public void setEntitytype(String entitytype) {
        this.entitytype = entitytype == null ? null : entitytype.trim();
    }

    public Integer getEntityid() {
        return entityid;
    }

    public void setEntityid(Integer entityid) {
        this.entityid = entityid;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }

    public String getFilesize() {
        return filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize == null ? null : filesize.trim();
    }

    public String getFiledownpath() {
        return filedownpath;
    }

    public void setFiledownpath(String filedownpath) {
        this.filedownpath = filedownpath == null ? null : filedownpath.trim();
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath == null ? null : filepath.trim();
    }

    public String getFilepassword() {
        return filepassword;
    }

    public void setFilepassword(String filepassword) {
        this.filepassword = filepassword == null ? null : filepassword.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}